import request from "@/utils/request";
 
export function getTemplateList(data) {	
  return request({
    url: "/api/admin/getTemplateList",
    method: "post",
    data
  });
}

export function setTemplateStatus(data) {
  return request({
    url: "/api/admin/setTemplateStatus",
    method: "post",
    data
  });
}

export function delTemplate(data) {
  return request({
    url: "/api/admin/delTdelTemplateemplate",
    method: "post",
    data
  });
}

export function getTemplateInfo(data) {
  return request({
    url: "/api/admin/getTemplateInfo",
    method: "post",
    data
  });
}

export function getTemplateGoods(data) {
  return request({
    url: "/api/admin/getTemplateGoods",
    method: "post",
    data
  });
}

export function saveTemplate(data) {
  return request({
    url: "/api/admin/saveTemplate",
    method: "post",
    data
  });
}
